<?php

/**
 * Framework_Auth_CP
 *
 * @author      Ian Szewczyk <roamzero@gmail.com>
 * @copyright   (c) 2007 Ian Szewczyk. All rights reserved.
 * @license http://www.opensource.org/licenses/bsd-license.php
 * @package Framework
 * @subpackage Auth
 * @filesource
 */

/**
 * Framework_Auth_CP
 *

 * @author Ian Szewczyk <roamzero@gmail.com>
 * @package Framework
 * @subpackage Auth
 */
class Framework_Auth_CP extends Framework_Auth_Profile
{
    

  	/**
     * __construct
     *
     * @access public 
     * @return void
     */
  	public function __construct()
  	{
  		parent::__construct(); 
    }
	
	/**
     * authenticate
     *
     * @access public 
     * @return boolean
     */
     public function authenticate()
     {
      	$user = Framework_User::singleton();
     	 if($user->userStatus == OWNER_USER_STATUS && parent::authenticate())
      	 	return true;
      	 else 
      	 	return false;
     }
    
    
}

?>

